package com.example.personalblog.service;

import com.example.personalblog.entity.Comment;
import com.example.personalblog.vo.ShowComment;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.omg.PortableServer.LIFESPAN_POLICY_ID;

import java.util.List;

public interface CommentService {

    void updateState(int id, int state);

    PageInfo<Comment> findAllComment(int pageNum, String str);

    List<Comment> findByAid(int aid);

    List<ShowComment> findCommentByBlogId(int id);

    void save(Comment comment);
}
